package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface ReportDao {

    @Select("SELECT COUNT(m.id) FROM t_member m where sex =1")//女会员数量
    public Integer findGrilCount();
    @Select("SELECT COUNT(m.id) FROM t_member m where sex =2")//男会员数量
    public Integer findBoyCount();


    public List<Map> findAgeCount();
}
